﻿namespace Bing.Biz.Payments.Alipay.Configs;

/// <summary>
/// 支付宝常量
/// </summary>
public static class AlipayConst
{
    /// <summary>
    /// 支付宝跟踪日志名
    /// </summary>
    public const string TraceLogName = "AlipayTraceLog";

    /// <summary>
    /// 编码
    /// </summary>
    public const string Charset = "charset";

    /// <summary>
    /// 应用标识
    /// </summary>
    public const string AppId = "app_id";

    /// <summary>
    /// 请求方法
    /// </summary>
    public const string Method = "method";

    /// <summary>
    /// 时间戳
    /// </summary>
    public const string Timestamp = "timestamp";

    /// <summary>
    /// 版本
    /// </summary>
    public const string Version = "version";

    /// <summary>
    /// 格式
    /// </summary>
    public const string Format = "format";

    /// <summary>
    /// 签名
    /// </summary>
    public const string Sign = "sign";

    /// <summary>
    /// 签名类型
    /// </summary>
    public const string SignType = "sign_type";

    /// <summary>
    /// 回调通知Url
    /// </summary>
    public const string NotifyUrl = "notify_url";

    /// <summary>
    /// 返回Url
    /// </summary>
    public const string ReturnUrl = "return_url";

    /// <summary>
    /// 内容
    /// </summary>
    public const string BizContent = "biz_content";

    /// <summary>
    /// 支付订单号
    /// </summary>
    public const string TradeNo = "trade_no";

    /// <summary>
    /// 商户订单号
    /// </summary>
    public const string OutTradeNo = "out_trade_no";

    /// <summary>
    /// 订单金额
    /// </summary>
    public const string TotalAmount = "total_amount";

    /// <summary>
    /// 订单标题
    /// </summary>
    public const string Subject = "subject";

    /// <summary>
    /// 用户付款授权码
    /// </summary>
    public const string AuthCode = "auth_code";

    /// <summary>
    /// 交易超时时间
    /// </summary>
    public const string TimeoutExpress = "timeout_express";

    /// <summary>
    /// 场景
    /// </summary>
    public const string Scene = "scene";

    /// <summary>
    /// 商户门店编号
    /// </summary>
    public const string StoreId = "store_id";

    /// <summary>
    /// 买家支付宝用户号
    /// </summary>
    public const string BuyerId = "buyer_id";

    /// <summary>
    /// 交易状态
    /// </summary>
    public const string TradeStatus = "trade_status";

    /// <summary>
    /// 回调通知标识
    /// </summary>
    public const string NotifyId = "notify_id";

    /// <summary>
    /// 二维码
    /// </summary>
    public const string QrCode = "qr_code";

    /// <summary>
    /// 销售产品码
    /// </summary>
    public const string ProductCode = "product_code";
}